<template>
  <ant-modal
    modalWidth="800"
    modalHeight="550"
    :visible="open"
    :modal-title="formTitle"
    :adjust-size="true"
    @cancel="cancel"
  >
    <a-form-model
      ref="form"
      :model="form"
      :rules="rules"
      slot="content"
      layout="vertical"
    >
      <a-row :gutter="32">
        <a-col :span="12">
          <a-form-model-item label="创建者" prop="userId">
            <a-input v-model="form.userId" placeholder="请输入创建者" />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="创建部门" prop="deptId">
            <a-input v-model="form.deptId" placeholder="请输入创建部门" />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="创建名称" prop="userName">
            <a-input v-model="form.userName" placeholder="请输入创建名称" />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="部门名称" prop="deptName">
            <a-input v-model="form.deptName" placeholder="请输入部门名称" />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="公司ID" prop="companyId">
            <a-input v-model="form.companyId" placeholder="请输入公司ID" />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="姓名" prop="name">
            <a-input v-model="form.name" placeholder="请输入姓名" />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="所属单位" prop="companyName">
            <a-input v-model="form.companyName" placeholder="请输入所属单位" />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="处分时间" prop="chufenTime">
            <a-input v-model="form.chufenTime" placeholder="请输入处分时间" />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="处分送达时间" prop="chufenToTime">
            <a-input
              v-model="form.chufenToTime"
              placeholder="请输入处分送达时间"
            />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="处分决定宣布时间" prop="chufenFabuTime">
            <a-input
              v-model="form.chufenFabuTime"
              placeholder="请输入处分决定宣布时间"
            />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="处分决定归档时间" prop="chufenGuidangTime">
            <a-input
              v-model="form.chufenGuidangTime"
              placeholder="请输入处分决定归档时间"
            />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="岗位工资待遇调整到位时间" prop="tz00407">
            <a-input
              v-model="form.tz00407"
              placeholder="请输入岗位工资待遇调整到位时间"
            />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item
            label="影响期内是否存在违规晋升、提拔"
            prop="tz00408"
          >
            <a-input
              v-model="form.tz00408"
              placeholder="请输入影响期内是否存在违规晋升、提拔"
            />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="职务级别调整情况" prop="tz00409">
            <a-input
              v-model="form.tz00409"
              placeholder="请输入职务级别调整情况"
            />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="年度考核情况" prop="tz00410">
            <a-input v-model="form.tz00410" placeholder="请输入年度考核情况" />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="党员权利恢复时间" prop="tz00411">
            <a-input
              v-model="form.tz00411"
              placeholder="请输入党员权利恢复时间"
            />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="涉案款物处理情况" prop="tz00412">
            <a-input
              v-model="form.tz00412"
              placeholder="请输入涉案款物处理情况"
            />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="帮带教育责任人及联系电话" prop="tz00413">
            <a-input
              v-model="form.tz00413"
              placeholder="请输入帮带教育责任人及联系电话"
            />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="帮带教育记录" prop="tz00414">
            <a-input v-model="form.tz00414" placeholder="请输入帮带教育记录" />
          </a-form-model-item>
        </a-col>
        <a-col :span="12">
          <a-form-model-item label="排序" prop="sort">
            <a-input-number v-model="form.sort" :min="0" style="width: 100%" />
          </a-form-model-item>
        </a-col>
      </a-row>
    </a-form-model>
    <template slot="footer">
      <a-button @click="cancel"> 取消 </a-button>
      <a-button type="primary" @click="submitForm"> 保存 </a-button>
    </template>
  </ant-modal>
</template>
<script>
import BizTaizhang004AddForm from "./BizTaizhang004Form";
export default {
  ...BizTaizhang004AddForm,
};
</script>
